package cn.wolfcode.luowowo.article.service.impl;


import cn.wolfcode.luowowo.acticle.domain.ScenicSpotTheme;
import cn.wolfcode.luowowo.acticle.query.ScenicSpotThemeQuery;
import cn.wolfcode.luowowo.acticle.service.IScenicSpotThemeService;
import cn.wolfcode.luowowo.article.mapper.ScenicSpotThemeMapper;
import com.alibaba.dubbo.config.annotation.Service;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class ScenicSpotThemeServiceImpl implements IScenicSpotThemeService {
    @Autowired
    private ScenicSpotThemeMapper scenicSpotThemeMapper;

    @Override
    public PageInfo query(ScenicSpotThemeQuery qo) {
        return null;
    }

    @Override
    public ScenicSpotTheme get(Long id) {
        return scenicSpotThemeMapper.selectByPrimaryKey(id);
    }

    @Override
    public List<ScenicSpotTheme> listAll(long destId) {
        return scenicSpotThemeMapper.selectAll(destId);
    }
}
